//
//  locationTool.h
//  dituaaaa
//
//  Created by dllo on 15/11/28.
//  Copyright © 2015年 mjh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <BaiduMapAPI_Base/BMKBaseComponent.h>//引入base相关所有的头文件
#import <BaiduMapAPI_Utils/BMKUtilsComponent.h>//引入计算工具所有的头文件
#import <BaiduMapAPI_Map/BMKMapComponent.h>//引入地图功能所有的头文件
#import <BaiduMapAPI_Search/BMKSearchComponent.h>//引入检索功能所有的头文件

#import <BaiduMapAPI_Location/BMKLocationComponent.h>

@protocol locationToolDelegate <NSObject>

- (void)locationName:(NSString *)name;

@end

@interface locationTool : NSObject

@property(nonatomic, strong) id<locationToolDelegate>delegate;

//定位
- (BMKMapView *)locationWithMapframe:(CGRect )frame;
//通过指定位置定位
- (BMKMapView *)locationWithAddress:(NSString *)address Mapframe:(CGRect )frame;
//


- (void)onClickHotel:(NSString *)locationName facilities:(NSString *)facilities;

@end
